package com.zxy.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zxy.dto.VolunteerInfo;
import com.zxy.entity.Volunteer;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Zxy
 * @since 2021-05-11
 */
public interface VolunteerMapper extends BaseMapper<Volunteer> {

    /**
     * 查询全部学院下的志愿者
     * @param page page对象
     * @return The {@link IPage}
     */
    IPage<VolunteerInfo> selectVolunteerPage(Page<VolunteerInfo> page);

}
